package cn.yilongquan;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;

/**
 * Hello world!
 *
 */
@SpringBootApplication
//批量扫描 Mapper 接口
@MapperScan("cn.yilongquan.mapper")
@ServletComponentScan(value = {"cn.yilongquan.Listener"})
public class App 
{
    public static void main( String[] args ) {
        SpringApplication.run(App.class, args);
    }
}
